﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace Fiddler2.OAuth
{
    public partial class oAuthUI : Form
    {
        public oAuthUI()
        {
            InitializeComponent();
        }
        
        public string Token
        {
            get
            {
                return TokenText.Text;
            }
            set
            {
                TokenText.Text = value;
            }
        }
        
        public string TokenSecret
        {
            get
            {
                return TokenSecretText.Text;
            }
            set
            {
                TokenSecretText.Text = value;
            }
        }

        public string ConsumerToken
        {
            get
            {
                return ConsumerTokenText.Text;
            }
            set
            {
                ConsumerTokenText.Text = value;
            }
        }

        public string ConsumerSecret
        {
            get
            {
                return ConsumerSecretText.Text;
            }
            set
            {
                ConsumerSecretText.Text = value;
            }
        }

        public bool AutoOAuth
        {
            get
            {
                return AutoOAuthCb.Checked;
            }
            set
            {
                AutoOAuthCb.Checked = value;
            }
        }
    }
}
